package com.jxsd.edu.cn.struts2.dao;

import java.util.List;

import com.jxsd.edu.cn.struts2.models.SmallCatagory;

public interface SmallCatagoryDao 
{
   /**
    * get  all  smallCatagories  of  the  category
    * */
	public   List<SmallCatagory>  getAllSmalls(String  catagoryId);
	/**
	 * get  a  smallcatagory
	 * */
	public   SmallCatagory   getSmallCatagory(String  smallId);
	/**
	 * add  a  smallcatagory
	 * */
	public  void  addSmallCategory(SmallCatagory  small);
	/**
	 * delete  a  smallcatagory
	 * */
	public  void   delete(String  smallId);
	/**
	 * get  all  smallcatagoies
	 * */
	public   List<SmallCatagory>  getAllSmalls();
	
}
